<template>
  <div class="app">
    <el-container>
      <el-aside style="width: 200px" class="app-aside">
        <lauout></lauout>
      </el-aside>
      <el-container>
        <el-header>
          <headers></headers>
        </el-header>
        <el-main>
          <div class="main-div">
            <router-view
              class="animate__animated animate__bounceInRight"
            ></router-view>
          </div>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script lang="ts" setup>
import { ref } from 'vue'
import lauout from '../components/lauyout/index.vue'
import headers from '../components/titleHeader/header.vue'
const components = {
  lauout,
  headers,
}
</script>

<style lang="scss">
.app {
  .el-container {
    min-height: 100%;
    .el-main {
      min-height: calc(100vh - 80px);
      min-width: 1240px;
      //   width: 100%;
      height: 100%;
      overflow: hidden;
      background: #eee;
      padding: 0 20px 10px 20px;
      //   margin-bottom: 50px;
    }
  }
}
</style>
